export default {
    state: {
        userName: '',
        token:[],
        skusId:'',
        a:[]//声明存token的数组
    },
    getters: {

    },
    mutations: {
        setuserInfor(state, val) {
            state.userName = val
            // state.token = val.token

        },
        clearUserInfor(state){
            state.userName = '';
            state.token = '';
        },
        // 存token
        user(state,val){
            state.a=val
        }
    }
}